home *** CD-ROM | disk | FTP | other *** search
- Path: arlut.utexas.edu!usenet
- From: Lee Crites <crites>
- Newsgroups: comp.lang.c++
- Subject: Re: How can I create a linked list using classes?
- Date: 19 Jan 1996 18:08:30 GMT
- Organization: Applied Research Laboratories - The University of Texas at Austin
- Message-ID: <4dommu$gti@ns1.arlut.utexas.edu>
- References: <30FA80CF.E66@fox.nstn.ca> <4dn4nj$2en@condor.ic.net>
- NNTP-Posting-Host: squid.arlut.utexas.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.01 9000/730)
- X-URL: news:4dn4nj$2en@condor.ic.net
-
- I'd say that the fastest thing to do would be to use the list<T> from the STL.
- It's already written, works basically as fast as anything that most people
- might toss together, and it is generic enough that you can use it for just
- about anything you'd need.
-
- I'm in the process of learning the STL, and it is, imo, a tremendous deal! I'm
- running a test program at this moment that is comparing the STL deque and
- vector against hand-coded routines. The results are so close that I'm most
- likely not going to be hand-coding arrays, queues, or lists ever again.
-
- Lee
-
-